<html>
<head>
<script>
var app = (function () {
     test = function (a,b) {
         alert(a);
        
         init(b)
     };
    init = function (b) {
    	 alert(b);
         alert(2)
    };
    return {
        test:test,
        init: init
    };
});
app().test(5,6);//你括号括得不对，{init:init}那行也多了个逗号。。
</script>
</head>
</html>